package com.myzl.coal.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.myzl.coal.domain.AgreementContrast;

import java.util.List;

/**
 * 协议对照Mapper接口
 * 
 * @author myzl
 * @date 2022-07-20
 */
public interface AgreementContrastMapper extends BaseMapper<AgreementContrast>

{
    /**
     * 查询协议对照
     * 
     * @param id 协议对照主键
     * @return 协议对照
     */
    public AgreementContrast selectAgreementContrastById(Long id);

    /**
     * 查询协议对照列表
     * 
     * @param agreementContrast 协议对照
     * @return 协议对照集合
     */
    public List<AgreementContrast> selectAgreementContrastList(AgreementContrast agreementContrast);

    /**
     * 新增协议对照
     * 
     * @param agreementContrast 协议对照
     * @return 结果
     */
    public int insertAgreementContrast(AgreementContrast agreementContrast);

    /**
     * 修改协议对照
     * 
     * @param agreementContrast 协议对照
     * @return 结果
     */
    public int updateAgreementContrast(AgreementContrast agreementContrast);

    /**
     * 删除协议对照
     * 
     * @param id 协议对照主键
     * @return 结果
     */
    public int deleteAgreementContrastById(Long id);

    /**
     * 批量删除协议对照
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteAgreementContrastByIds(Long[] ids);
}
